-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for binary paths on macOS #127
Conversation
f28ba07
to
35c6477
Compare
It's a bit messy as these filesystems of course affect the whole system, breaking isolation, but in practice it was no issue if the temporary filesystem is used to the fullest extent.
They probably happen as |
:) so I guess not |
Even if it has to be disabled on CI in the end, it's useful to have test coverage on MacOS when running it locally, without assuming particular drives to be plugged in. |
2bfc951
to
67b0277
Compare
%-encodes invalid bytes in otherwise valid utf8 strings
…non-binary strings Issue: Byron#124
Disabled since only works on older FS, but tested manually to work on a USB HFS drive
use the same %-conversion
Disabled since only works on older FS, but tested manually to work on a USB HFS drive
67b0277
to
b147384
Compare
16669a3
to
58ac14d
Compare
* avoid unused import (it's only used on Linux) * make tests work locally (and possibly on CI) by creating temporary filesystems.
58ac14d
to
d23a591
Compare
Adds a utf8 conversion step to allow creating valid Mac URLs for its file manager APIs as well as Finder
fixes: #124
Test: the actual delete tests are DISABLED since they fails in CI and locally by default since modern APFS doesn't allow binary paths, but I've manually tested on a HFS usb drive that supports it.
Is there an easy way to create some virtual FS during testing so that the test works both locally and in CIs and doesn't require manual intervention?
Also for some reason got the same non-Mac unrelated clippy errors